package com.sgb.goods.entity;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

/**
 * 省份、自治区、直辖市实体
 * @author cyj
 */
public class ProvinceEntity<T>  implements IPickerViewData {
    @SerializedName("id")
    public int id;
    @SerializedName("areaName")
    public String areaName;
    @SerializedName("level")
    public int level;
    @SerializedName("checked")
    public boolean checked;
    @SerializedName("shortName")
    public String shortName;

    public double latitude;
    public double longititude;

    @Override
    public String getPickerViewText() {
        return areaName;
    }
}
